//
//  MSUserCenterDataSource.h
//  MSJD
//
//  Created by 箭军刘 on 2018/12/2.
//  Copyright © 2018 xiangbo. All rights reserved.
//

#import <Foundation/Foundation.h>


@interface MSUserCenterDataSource : NSObject

/**
 申请商家入驻接口

 @param businessAddress 店铺地址
 @param busineesTitle 店铺名称
 @param contactName 联系人
 @param contactPhone 联系电话
 @param uploadIconList 上传图片数组（顺序为店铺牌子照片、店铺内部照片、手持身份证正面、手持身份证反面、营业执照、经营许可证）
 */
+ (void)applyForTenantsWithBusinessAddress:(NSString *)businessAddress
                             businessTitle:(NSString *)busineesTitle
                               contactName:(NSString *)contactName
                              contactPhone:(NSString *)contactPhone
                            uploadIconList:(NSArray *)uploadIconList
                                   success:(void (^)(NSDictionary *responseInfo))success
                                   failure:(void (^)(NSError *error))failure;

/**
 获取OSS临时上传凭证
 */
+ (void)queryUploadImageConfigWithSuccess:(void (^)(NSDictionary *responseInfo))success
                                  failure:(void (^)(NSError *error))failure;

/**
 修改用户信息

 @param avatar 用户头像
 @param userName 用户名
 @param gender 性别
 */
+ (void)modifyUserInfoWithAvatar:(NSString *)avatar
                        userName:(NSString *)userName
                          gender:(NSInteger)gender
                         success:(void (^)(NSDictionary *responseInfo))success
                         failure:(void (^)(NSError *error))failure;



@end

